//
//  RadioSortCell.m
//  NEWS_W_Y_S
//
//  Created by lanou3g on 15/10/15.
//  Copyright © 2015年 lanou3g.jake. All rights reserved.
//

#import "RadioSortCell.h"
#import "UIImageView+WebCache.h"


@implementation RadioSortCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
    }
    
    return self;
}

-(void)radioSortData:(RadioSortModel *)radioSortModel
{
    self.playerCountLabel.text = [NSString stringWithFormat:@"%ld",radioSortModel.playCount];
    self.radioNameLabel.text = radioSortModel.radio[@"tname"];
    self.radioLabel.text = radioSortModel.radio[@"title"];
    [self.radioImageView sd_setImageWithURL:radioSortModel.radio[@"imgsrc"] placeholderImage:[UIImage imageNamed:@"1"]];
}



@end
